import Vue from "vue"
import Vuex from "vuex"
import mutations from "./mutations"
import state from "./state"
Vue.use(Vuex)
let defaultCity = "上海"
try {
    if (localStorage.city) {

    }
} catch (e) {}
export default new Vuex.Store({
    state: state,
    // actions: {
    //     changeCity(ctx, city) {
    //         ctx.commit("changeCity", city)
    //     }
    // },
    mutations: mutations
});